package cn.com.surker.enums.system;

import cn.com.surker.enums.ICodeDescEnum;

/**
 * @Author lucky
 * @create 2024年07月04 7:37
 * @desc 末位计算方式
 */
public enum RoundTypeEnum implements ICodeDescEnum {

    SSWR(0,"小数末位四舍五入"),
    XXQZ(1,"小数末位向下取零"),
    MWQZ(2,"末位去小数取整数"),
    MWSSWR(3,"末位去小数四舍五入取整数"),
    ;

    private final String description;

    private final Integer code;

    RoundTypeEnum(Integer code, String description) {
        this.description = description;
        this.code = code;
    }

    public String getDescription() {
        return description;
    }

    public Integer getCode() {
        return code;
    }
}
